package com.sumainfor.wx.tenant.feign.Zfeign;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.wx.tenant.fallback.ZfallBack.ZpcEpcFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 调用工程部服务
 */

@FeignClient(name = "tANGNEST-PC-EPc", fallback = ZpcEpcFallback.class)
public interface ZpcEpcFeign {
    /**
     * 租客端协助开门查询房源的房间配置
     */
    @PostMapping("/tenant/key/housekeeper/HoHousingPlan/getHoInteHouConInfoList")
    JsonResult getHoInteHouConInfoList(@RequestBody Map<String,Object> params);
    /**
     * 租客端协助开门查询房源的房间配置
     */
    @GetMapping("/tenant/key/housekeeper/HoHousingPlan/getHoRdInteDeviceConList")
    JsonResult getHoRdInteDeviceConList(@RequestParam Map<String,Object> params);


}
